package jay.home.bet.web.struts;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import jay.home.bet.domain.Comp;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

public class ToinputresultAction extends BaseAction
{
	public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response ) throws Exception
	{
		int pno = getPageNumber(request);
		List<Comp> comps = getBasicService().getSettlableComps(pno, 50);
		request.setAttribute("comps", comps);
		return mapping.findForward("SUCCESS");
	}
}
